// 规定一个项目最多只能有一个store
import {configureStore} from "@reduxjs/toolkit"
import chat from "./reducers/chat"
// import rootReducer from './reducers/rootReducer'

const rootStore = configureStore({
    // reducer: rootReducer
    reducer:chat
})
export default rootStore